import { Injectable } from '@angular/core';
import { ApiService } from '@core/services/api';
import {HttpClient} from "@angular/common/http";


@Injectable({
  providedIn: 'root'
})
export class PermissionService {

  constructor(
    private api: ApiService,
    private http: HttpClient
    ) { }

  //查询用户是否有按钮的权限
  queryPermissionBtn(url:string):void{
    this.http.post(url,"").subscribe(res=>{
      console.log(res);
    })
  }

}
